package service;

import domain.Syslog;

import java.util.List;

/**
 * @author Freedy
 * @date 2020/12/27 12:26
 */

public interface ISysLogService {

    /**
     * 保存
     * @param syslog
     * @throws Exception
     */
    void save(Syslog syslog) throws Exception;

    /**
     * 查询所有
     * @return
     * @throws Exception
     */
    List<Syslog> findAll() throws Exception;
}
